﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace BigData.DataContracts.Objects.Reddit
{
    [DataContract]
    public class Thing<T>
    {
        [DataMember(IsRequired=false)]
        public string id { get; set; }
        [DataMember(IsRequired = false)]
        public string name { get; set; }
        [DataMember]
        public string kind { get; set; }
        [DataMember]
        public T data { get; set; }
    }
}
